<h2>Add a new Contact</h2>
<form ng-submit="add()" ng-include="'partials/form.html'"></form>
We’ll also create partials/form.html:

<div>
  <label>Name</label>: <input ng-model="contact.name">
</div>
<div>
  <label>Phone Number</label>: <input ng-model="contact.phone">
</div>
<div>
  <label>Address 1</label>: <input ng-model="contact.address.0">
</div>
<div>
  <label>Address 2</label>: <input ng-model="contact.address.1">
</div>
<input type="submit" value="Submit">